BOOL CDlgAdd::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
    	((CButton*)GetDlgItem(IDC_RADIO_SET))->SetCheck(1);
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CDlgAdd::OnRadioSet() 
{
	// TODO: Add your control notification handler code here
	GetDlgItem(IDC_EDIT_INDEX)->EnableWindow(true);	
}

void CDlgAdd::OnRadioAdd() 
{
	// TODO: Add your control notification handler code here
	GetDlgItem(IDC_EDIT_INDEX)->EnableWindow(false);	
}

void CDlgAdd::OnRadioInsert() 
{
	// TODO: Add your control notification handler code here
	GetDlgItem(IDC_EDIT_INDEX)->EnableWindow(true);	
}
